package com.guyaogg.gulimall.seckill.feign;

import com.guyaogg.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 顾遥
 */
@FeignClient("gulimall-product")
@RequestMapping("product")
public interface ProductFeignService {
    @RequestMapping("/skuinfo/info/{skuId}")
    //@RequiresPermissions("product:skuinfo:info")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
